using System.Data;
using System;
using System.Collections.Generic;
using System.Text;
using Entity;
using Data;

namespace Business
{
    public class PartyBusiness
    {
        public Party GetParty(int ID)
        {
            PartySQL PartySQL = new PartySQL();
            return PartySQL.GetParty(ID);
            
        }

        public Party GetParty(string username, string password)
        {
            PartySQL PartySQL = new PartySQL();
            return PartySQL.GetParty(username, password);
        }

        
        public DataSet GetPartyList()
        {
            PartySQL PartySQL = new PartySQL();
            return PartySQL.GetPartyList();
        }
    }
}
